/* 订单详情页面样式 */

.page-header {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-bottom: 30px;
    padding: 20px 0;
}

.back-link {
    color: #666;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: color 0.3s ease;
}

.back-link:hover {
    color: #d4a200;
}

.page-header h1 {
    font-size: 32px;
    color: #d4a200;
    font-family: 'Comic Sans MS', 'Microsoft YaHei', cursive, sans-serif;
    margin: 0;
}

/* 订单状态时间轴 */
.order-timeline {
    display: flex;
    justify-content: space-between;
    margin: 40px 0;
    position: relative;
    padding: 0 40px;
}

.order-timeline::before {
    content: '';
    position: absolute;
    top: 40px;
    left: 60px;
    right: 60px;
    height: 4px;
    background: #ffe5b4;
    z-index: 1;
}

.timeline-item {
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: center;
    flex: 1;
}

.timeline-icon {
    width: 80px;
    height: 80px;
    background: #fff;
    border: 4px solid #ffe5b4;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 15px;
    transition: all 0.3s ease;
}

.timeline-icon i {
    font-size: 32px;
    color: #ffd700;
}

.timeline-item.active .timeline-icon {
    border-color: #ffd700;
    background: #fffbe6;
}

.timeline-item.current .timeline-icon {
    transform: scale(1.1);
    box-shadow: 0 0 20px rgba(255, 215, 0, 0.3);
}

.timeline-content {
    text-align: center;
}

.timeline-content h3 {
    font-size: 18px;
    color: #666;
    margin-bottom: 5px;
    font-family: 'Comic Sans MS', 'Microsoft YaHei', cursive, sans-serif;
}

.timeline-content p {
    font-size: 14px;
    color: #999;
}

.timeline-item.active .timeline-content h3 {
    color: #d4a200;
}

/* 详情内容 */
.detail-content {
    display: flex;
    flex-direction: column;
    gap: 30px;
    margin: 40px 0;
}

.detail-card {
    background: #fff;
    border-radius: 20px;
    padding: 30px;
    box-shadow: 0 4px 16px rgba(255, 215, 0, 0.1);
}

.detail-card h2 {
    color: #d4a200;
    font-size: 24px;
    margin-bottom: 20px;
    font-family: 'Comic Sans MS', 'Microsoft YaHei', cursive, sans-serif;
}

/* 信息网格 */
.info-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
}

.info-item {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.info-item label {
    color: #999;
    font-size: 14px;
}

.info-item span {
    color: #666;
    font-size: 16px;
}

/* 服务信息 */
.service-info {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.service-type {
    display: flex;
    align-items: center;
    gap: 15px;
    padding-bottom: 20px;
    border-bottom: 2px dashed #ffe5b4;
}

.service-type i {
    font-size: 32px;
    color: #d4a200;
    background: #fffbe6;
    width: 64px;
    height: 64px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
}

.service-type h3 {
    font-size: 24px;
    color: #d4a200;
    margin: 0;
    font-family: 'Comic Sans MS', 'Microsoft YaHei', cursive, sans-serif;
}

/* 服务人员信息 */
.staff-info {
    display: flex;
    align-items: center;
    gap: 30px;
    flex-wrap: wrap;
}

.staff-avatar {
    position: relative;
    width: 120px;
    height: 120px;
}

.staff-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
    border: 4px solid #ffd700;
}

.staff-badge {
    position: absolute;
    bottom: 0;
    right: 0;
    background: #ffd700;
    color: #fff;
    padding: 4px 12px;
    border-radius: 12px;
    font-size: 12px;
    font-weight: bold;
}

.staff-details {
    flex: 1;
}

.staff-details h3 {
    font-size: 24px;
    color: #d4a200;
    margin-bottom: 10px;
    font-family: 'Comic Sans MS', 'Microsoft YaHei', cursive, sans-serif;
}

.staff-details p {
    color: #666;
    margin: 8px 0;
}

.staff-details i {
    color: #d4a200;
    margin-right: 8px;
}

/* 费用信息 */
.price-details {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.price-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 0;
    color: #666;
}

.price-item.discount {
    color: #ff6b6b;
}

.price-item.discount .price {
    color: #ff6b6b;
}

.price-item.total {
    border-top: 2px dashed #ffe5b4;
    margin-top: 10px;
    padding-top: 20px;
    font-weight: bold;
    color: #d4a200;
}

.price {
    font-size: 20px;
    font-weight: bold;
}

/* 底部操作按钮 */
.detail-actions {
    display: flex;
    justify-content: flex-end;
    gap: 20px;
    margin-top: 40px;
    padding-top: 20px;
    border-top: 2px solid #ffe5b4;
}

/* 响应式设计 */
@media (max-width: 768px) {
    .order-timeline {
        flex-direction: column;
        padding: 0;
        gap: 30px;
    }

    .order-timeline::before {
        top: 0;
        bottom: 0;
        left: 40px;
        right: auto;
        width: 4px;
        height: auto;
    }

    .timeline-item {
        flex-direction: row;
        justify-content: flex-start;
        gap: 20px;
        padding-left: 40px;
    }

    .timeline-icon {
        width: 60px;
        height: 60px;
        margin: 0;
    }

    .timeline-icon i {
        font-size: 24px;
    }

    .timeline-content {
        text-align: left;
    }

    .staff-info {
        flex-direction: column;
        align-items: flex-start;
    }

    .detail-actions {
        flex-direction: column;
    }

    .detail-actions button {
        width: 100%;
    }
} 